<template>
	<!--
    	作者：1550495493@qq.com
    	时间：2019-07-24
    	描述：结业证书
    -->
	<div class="Course">
    <div class="no-data" v-if="!graduationList.length">---- 暂无结业证书  ----</div>
    <div class="Course-column">
      <div class="fl" v-for="graduation in graduationList">
				<p class="hes-text"><!--{{graduation.name}}--> {{graduation.className}}结业证书</p>
				<div class="Course-box">
					<p><img src="../../images/Course/2.png" /><span>发证时间：{{formatData(graduation.createAt)}}</span></p>
					<p><!--<img src="../../images/Course/5.png" /><span>证书编号：{{graduation.num}}</span>--></p>
					<div class="Submit-box">
						<input class="Submit-application" type="button" value="下载证书" @click="downloadResources(graduation.graduationCertificateUrl)"/>
					</div>
				</div>
			</div>
		</div>
		<!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
		<pageination :total="total" :size="size" :page="page" :changge="pageFn" @child="obtainChild"></pageination>
	</div>

</template>
<script src="./CertificatesCompletion.js"></script>

<style scoped>
	@import "CertificatesCompletion.css";
</style>
